﻿using Microsoft.AspNetCore.Mvc.Filters;
using System;

namespace Sayook.Framework.AOP.Filter.ExceptionFilter
{
    /// <summary>
    /// 异常筛选器
    /// <!--
    /// 实现 IExceptionFilter 或 IAsyncExceptionFilter。
    /// 可用于实现常见的错误处理策略。
    /// -->
    /// </summary>
    public class TExceptionFilterAttribute : Attribute, IExceptionFilter
    {
        public void OnException(ExceptionContext context)
        {
            throw new NotImplementedException();
        }
    }
}